package Container;

import java.sql.Timestamp;

public class Message {
	private int item;
	private int userid;
	private String username;
	private Timestamp date;
	private String comment;
	
	public int getItem() {
		return item;
	}

	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	public Timestamp getDate() {
		return date;
	}

	public String getComment() {
		return comment;
	}

	public Message(int item, String username, Timestamp date, String comment) {
		this.item = item;
		this.username = username;
		this.date = date;
		this.comment = comment;
	}
	
	public Message(int item, int userid, Timestamp date, String comment) {
		this.item = item;
		this.userid = userid;
		this.date = date;
		this.comment = comment;
	}
}
